import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

/// 跳转到指定界面
nav2page(BuildContext context, Widget targetPage) {
  Navigator.of(context).push(MaterialPageRoute(builder: (context) {
    return targetPage;
  }));
}
